package com.system.api.company.entity.dto;

import com.system.common.constant.MessageConstant;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NonNull;

import java.util.List;

/**
 *  企业添加用户对象
 * @author: lslands
 * @description:   
 * @version：v1.0
 * @date:    2024/6/12 16:01
 */
@Data
public class AssignUserDto {

    /**
     * 企业Id
     * @mock 1
     * @required
     */
    @NotNull(message = MessageConstant.COMPANY_ID_EMPTY)
    private Long companyId;

    /**
     * 用户Id集
     * @mock [1,2]
     * @required
     */
    @NotNull(message = MessageConstant.USER_ID_EMPTY)
    private List<Long> userIds;
}
